home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7721 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: gwen.pcug.co.uk!altheim!broldham
  2. Newsgroups: comp.lang.c
  3. Message-ID: <1176@altheim.win-uk.net>
  4. References: <cerebus.34.000DD98A@voicenet.com><4gqm3pINNkbu@keats.ugrad.cs.ubc.ca>
  5. Reply-To: broldham@altheim.win-uk.net (Brian R. Oldham)
  6. From: broldham@altheim.win-uk.net (Brian R. Oldham)
  7. Date: Wed, 28 Feb 1996 11:17:17 GMT
  8. Subject: Re: Checking For Keyboard Input
  9.  
  10.  
  11. In article <4gqm3pINNkbu@keats.ugrad.cs.ubc.ca>, Kazimir Kylheku (c2a192@ugrad.cs.ubc.ca) writes:
  12. >In article <cerebus.34.000DD98A@voicenet.com>,
  13. >aLEX <cerebus@voicenet.com> wrote:
  14. >>Hello fellow C programmers,
  15. >
  16. >That's a little presumptious, don't you think?
  17. >
  18.  
  19. Also of you to say so, Kazi.
  20.  
  21. >>        Is there anyway to check if keyboard input has been entered without 
  22. >>actually stalling the excution of the code until the user presses a key.  I 
  23. >>would really like to do this but I can't seem to find any way.  If you know of 
  24. >>a way PLEASE email me or post it.  Thank you in advance.
  25. >
  26. >This question comes up not fewer than 10 times a week in this newsgroup, yet it
  27. >has nothing to do with the C language. It is more than adequatly covered in the
  28. >FAQ, as you would know if you had read it.
  29. >-- 
  30.  
  31. If you had not been so preoccupied with your annoyance at aLEX's
  32. greeting you might have answered his query - or ignored it. A simple
  33. brief mention of kbhit() or equivalent, or a call to whatever interrupt
  34. pauses the keyboard would have been helpful, but you may be assured,
  35. none of us appreciate supercilious resposes such as this. Are you going
  36. to post this crap *every* time a newbie asks a question?
  37.  
  38.  
  39.  
  40. ---
  41. Brian Oldham
  42. Hucknall UK
  43. !...Gesundbrunnen
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.